<?php
	$auth = Zend_Auth::getInstance();
	if(!$auth->hasIdentity()){
		$lnkLogin = $this->url(array('action'=>'login'));
?>
		Ban chua login vao tai khoan. <br>
		<a href="<?php echo $lnkLogin;?>">Nhan vao day</a> de dang nhap
<?php 
	}else{
		$member = $auth->getIdentity();
	
		$lnkLogout = $this->url(array('action'=>'logout'));
?>
	Hi! <?php echo $member->user_name;?><br>
	<a href="<?php echo $lnkLogout;?>">Nhan vao day</a> de logout

<?php 
	}
?>